package com.tdcoding.chat.dbase.mapper;

import java.util.List;

import com.tdcoding.chat.entities.ChatInfo;

public interface ChatMapper {
	List<ChatInfo> queryChatInfo(long userId, int chatState);

	int addChatInfo(ChatInfo chatInfo, int chatState);

	int updateChatInfo(String packetId, int chatState);

	int updateChatInfo(long userId, int chatState);

	int clearChatInfo(long userId);
}
